package com.dragon.modules.yuegou.mapper.member;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dragon.modules.yuegou.entity.member.ShoppingCartEntity;
import com.dragon.modules.yuegou.model.member.ShoppingCart;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 购物车 Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-04-17 15:08:01
 * @version 2.0
 */
@Component("memShoppingCartMapper")
public interface ShoppingCartMapper extends BaseMapper<ShoppingCartEntity> {

    /**
     * 分页查询购物车列表
     * @param map
     * @return
     */
	List<ShoppingCart> findByMemberId(@Param("map") Map<String,String> map);
	
}
